package com.cdjf.service.emp;

import com.cdjf.dao.EmpDao;
import com.cdjf.pojo.Emp;
import com.cdjf.service.EmpService;
import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

//@Component
@Service
public class EmpServiceA implements EmpService {

    @Autowired
    private EmpDao empDao;

    @Override
    public List<Emp> empList() {
        return empDao.empList();
    }
}
